package lovo.practice_7_14.service;

import lovo.practice_7_14.pojo.UserDO;

import java.sql.SQLException;

public interface UserService {
    UserDO getByUsernameAndPwd(String username, String pwd);

    void saveMoney(String account, double balance);//存钱

    void getMoney(String account, double balance) throws Exception;//取钱

    double findMoney(String account); //查询当前余额

    void transMoney(String accounter,String accounted, double balance) throws Exception;
}
